package com.achievement.mappings;

import com.achievement.domain.dto.MagazineDTO;
import com.achievement.domain.dto.MagazineSourceDTO;
import com.achievement.domain.entity.MagazineEntity;
import com.achievement.domain.entity.MagazineSourceEntity;
import com.achievement.domain.vo.MagazineSourceVO;
import com.achievement.domain.vo.MagazineVO;
import org.mapstruct.Mapper;

/**
 * kygladmin MagazineSourceMapping
 */
@Mapper(componentModel = "spring")
public interface MagazineSourceMapping {

    MagazineSourceVO entity2Vo(MagazineSourceEntity entity);

    MagazineSourceEntity dto2Entity(MagazineSourceDTO dto);

    MagazineEntity MagazineDto2MagazineEntity(MagazineDTO dto);

    MagazineVO Magazineentity2MagazineVo(MagazineEntity entity);
}
